.class public Lu/aly/k$a;
.super Ljava/lang/Object;
.source "CacheImpl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lu/aly/k;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "a"
.end annotation


# instance fields
.field final synthetic a:Lu/aly/k;

.field private final b:J

.field private final c:I

.field private final d:I

.field private e:Lcom/umeng/analytics/ReportPolicy$g;

.field private f:I

.field private g:I

.field private h:I

.field private i:I

.field private j:Z


# direct methods
.method public constructor <init>(Lu/aly/k;)V
    .registers 6

    .prologue
    const/16 v3, 0x2710

    const/4 v2, 0x0

    .line 374
    iput-object p1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 361
    const-wide/32 v0, 0x4d3f6400

    iput-wide v0, p0, Lu/aly/k$a;->b:J

    .line 362
    const v0, 0x1b7740

    iput v0, p0, Lu/aly/k$a;->c:I

    .line 363
    iput v3, p0, Lu/aly/k$a;->d:I

    .line 371
    iput-boolean v2, p0, Lu/aly/k$a;->j:Z

    .line 375
    invoke-static {p1}, Lu/aly/k;->a(Lu/aly/k;)Lcom/umeng/analytics/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/umeng/analytics/h;->d()I

    move-result v0

    iput v0, p0, Lu/aly/k$a;->f:I

    .line 377
    invoke-static {p1}, Lu/aly/k;->a(Lu/aly/k;)Lcom/umeng/analytics/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/umeng/analytics/h;->e()I

    move-result v0

    .line 378
    if-lez v0, :cond_42

    .line 379
    invoke-direct {p0, v0}, Lu/aly/k$a;->c(I)I

    move-result v0

    iput v0, p0, Lu/aly/k$a;->g:I

    .line 386
    :goto_30
    invoke-static {p1}, Lu/aly/k;->a(Lu/aly/k;)Lcom/umeng/analytics/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/umeng/analytics/h;->c()[I

    move-result-object v0

    .line 387
    aget v1, v0, v2

    iput v1, p0, Lu/aly/k$a;->h:I

    .line 388
    const/4 v1, 0x1

    aget v0, v0, v1

    iput v0, p0, Lu/aly/k$a;->i:I

    .line 389
    return-void

    .line 380
    :cond_42
    sget v0, Lcom/umeng/analytics/AnalyticsConfig;->sLatentWindow:I

    if-lez v0, :cond_4f

    .line 381
    sget v0, Lcom/umeng/analytics/AnalyticsConfig;->sLatentWindow:I

    invoke-direct {p0, v0}, Lu/aly/k$a;->c(I)I

    move-result v0

    iput v0, p0, Lu/aly/k$a;->g:I

    goto :goto_30

    .line 383
    :cond_4f
    iput v3, p0, Lu/aly/k$a;->g:I

    goto :goto_30
.end method

.method private b(II)Lcom/umeng/analytics/ReportPolicy$g;
    .registers 7

    .prologue
    .line 447
    .line 449
    packed-switch p1, :pswitch_data_3a

    .line 466
    :pswitch_3
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$c;

    invoke-direct {v0}, Lcom/umeng/analytics/ReportPolicy$c;-><init>()V

    .line 470
    :goto_8
    return-object v0

    .line 451
    :pswitch_9
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$c;

    invoke-direct {v0}, Lcom/umeng/analytics/ReportPolicy$c;-><init>()V

    goto :goto_8

    .line 454
    :pswitch_f
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$d;

    iget-object v1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v1}, Lu/aly/k;->b(Lu/aly/k;)Lu/aly/aa;

    move-result-object v1

    int-to-long v2, p2

    invoke-direct {v0, v1, v2, v3}, Lcom/umeng/analytics/ReportPolicy$d;-><init>(Lu/aly/aa;J)V

    goto :goto_8

    .line 457
    :pswitch_1c
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$f;

    iget-object v1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v1}, Lu/aly/k;->b(Lu/aly/k;)Lu/aly/aa;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/umeng/analytics/ReportPolicy$f;-><init>(Lu/aly/aa;)V

    goto :goto_8

    .line 460
    :pswitch_28
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$g;

    invoke-direct {v0}, Lcom/umeng/analytics/ReportPolicy$g;-><init>()V

    goto :goto_8

    .line 463
    :pswitch_2e
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$h;

    iget-object v1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v1}, Lu/aly/k;->d(Lu/aly/k;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/umeng/analytics/ReportPolicy$h;-><init>(Landroid/content/Context;)V

    goto :goto_8

    .line 449
    :pswitch_data_3a
    .packed-switch 0x0
        :pswitch_28
        :pswitch_9
        :pswitch_3
        :pswitch_3
        :pswitch_1c
        :pswitch_2e
        :pswitch_f
    .end packed-switch
.end method

.method private c(I)I
    .registers 3

    .prologue
    const v0, 0x1b7740

    .line 474
    if-le p1, v0, :cond_6

    move p1, v0

    :cond_6
    return p1
.end method


# virtual methods
.method protected a()V
    .registers 5

    .prologue
    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 395
    iget v2, p0, Lu/aly/k$a;->f:I

    if-lez v2, :cond_31

    .line 397
    iget-object v2, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    instance-of v2, v2, Lcom/umeng/analytics/ReportPolicy$a;

    if-eqz v2, :cond_1d

    iget-object v2, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    invoke-virtual {v2}, Lcom/umeng/analytics/ReportPolicy$g;->a()Z

    move-result v2

    if-eqz v2, :cond_1d

    .line 398
    :goto_14
    if-eqz v0, :cond_1f

    iget-object v0, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    :goto_18
    iput-object v0, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    .line 414
    :cond_1a
    :goto_1a
    iput-boolean v1, p0, Lu/aly/k$a;->j:Z

    .line 415
    return-void

    :cond_1d
    move v0, v1

    .line 397
    goto :goto_14

    .line 398
    :cond_1f
    new-instance v0, Lcom/umeng/analytics/ReportPolicy$a;

    iget-object v2, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v2}, Lu/aly/k;->b(Lu/aly/k;)Lu/aly/aa;

    move-result-object v2

    iget-object v3, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v3}, Lu/aly/k;->c(Lu/aly/k;)Lu/aly/ak;

    move-result-object v3

    invoke-direct {v0, v2, v3}, Lcom/umeng/analytics/ReportPolicy$a;-><init>(Lu/aly/aa;Lu/aly/ak;)V

    goto :goto_18

    .line 400
    :cond_31
    iget-object v2, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    instance-of v2, v2, Lcom/umeng/analytics/ReportPolicy$b;

    if-eqz v2, :cond_64

    iget-object v2, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    invoke-virtual {v2}, Lcom/umeng/analytics/ReportPolicy$g;->a()Z

    move-result v2

    if-eqz v2, :cond_64

    .line 401
    :goto_3f
    if-nez v0, :cond_1a

    .line 402
    invoke-virtual {p0}, Lu/aly/k$a;->b()Z

    move-result v0

    if-eqz v0, :cond_66

    .line 403
    iget-object v0, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v0}, Lu/aly/k;->d(Lu/aly/k;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lu/aly/c;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 404
    iget v2, p0, Lu/aly/k$a;->g:I

    invoke-static {v2, v0}, Lcom/umeng/analytics/b;->a(ILjava/lang/String;)I

    move-result v0

    .line 405
    new-instance v2, Lcom/umeng/analytics/ReportPolicy$b;

    invoke-direct {v2, v0}, Lcom/umeng/analytics/ReportPolicy$b;-><init>(I)V

    iput-object v2, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    .line 406
    iget-object v2, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v2, v0}, Lu/aly/k;->a(Lu/aly/k;I)V

    goto :goto_1a

    :cond_64
    move v0, v1

    .line 400
    goto :goto_3f

    .line 409
    :cond_66
    iget v0, p0, Lu/aly/k$a;->h:I

    iget v2, p0, Lu/aly/k$a;->i:I

    invoke-direct {p0, v0, v2}, Lu/aly/k$a;->b(II)Lcom/umeng/analytics/ReportPolicy$g;

    move-result-object v0

    iput-object v0, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    goto :goto_1a
.end method

.method public a(I)V
    .registers 3

    .prologue
    .line 485
    invoke-direct {p0, p1}, Lu/aly/k$a;->c(I)I

    move-result v0

    iput v0, p0, Lu/aly/k$a;->g:I

    .line 486
    invoke-virtual {p0}, Lu/aly/k$a;->d()V

    .line 487
    return-void
.end method

.method public a(II)V
    .registers 3

    .prologue
    .line 495
    iput p1, p0, Lu/aly/k$a;->h:I

    .line 496
    iput p2, p0, Lu/aly/k$a;->i:I

    .line 497
    invoke-virtual {p0}, Lu/aly/k$a;->d()V

    .line 498
    return-void
.end method

.method public b(I)V
    .registers 2

    .prologue
    .line 490
    iput p1, p0, Lu/aly/k$a;->f:I

    .line 491
    invoke-virtual {p0}, Lu/aly/k$a;->d()V

    .line 492
    return-void
.end method

.method protected b()Z
    .registers 7

    .prologue
    const/4 v0, 0x0

    .line 418
    iget-object v1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v1}, Lu/aly/k;->a(Lu/aly/k;)Lcom/umeng/analytics/h;

    move-result-object v1

    invoke-virtual {v1}, Lcom/umeng/analytics/h;->h()Z

    move-result v1

    if-eqz v1, :cond_e

    .line 431
    :cond_d
    :goto_d
    return v0

    .line 422
    :cond_e
    iget-object v1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v1}, Lu/aly/k;->b(Lu/aly/k;)Lu/aly/aa;

    move-result-object v1

    invoke-virtual {v1}, Lu/aly/aa;->f()Z

    move-result v1

    if-nez v1, :cond_d

    .line 426
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iget-object v1, p0, Lu/aly/k$a;->a:Lu/aly/k;

    invoke-static {v1}, Lu/aly/k;->b(Lu/aly/k;)Lu/aly/aa;

    move-result-object v1

    invoke-virtual {v1}, Lu/aly/aa;->o()J

    move-result-wide v4

    sub-long/2addr v2, v4

    .line 427
    const-wide/32 v4, 0x4d3f6400

    cmp-long v1, v2, v4

    if-lez v1, :cond_d

    .line 428
    const/4 v0, 0x1

    goto :goto_d
.end method

.method public c()Lcom/umeng/analytics/ReportPolicy$g;
    .registers 2

    .prologue
    .line 438
    invoke-virtual {p0}, Lu/aly/k$a;->a()V

    .line 439
    iget-object v0, p0, Lu/aly/k$a;->e:Lcom/umeng/analytics/ReportPolicy$g;

    return-object v0
.end method

.method protected d()V
    .registers 2

    .prologue
    .line 478
    const/4 v0, 0x1

    iput-boolean v0, p0, Lu/aly/k$a;->j:Z

    .line 479
    return-void
.end method
